• home
  • blog
  • code
  • roojs.com - commercial support

  • Our Services
  • Our Work
  • Blog
  • Open Source
  • Contact

Related

When unstable is just not unstable enough

Ubuntu release 9.10 a bit early

ASUS My Cinema U3100 Mini DMB-TH - MythTV fully working

ASUS My Cinema U3100 Mini DMB-TH - Partly working

Source code for ASUS My Cinema U3100 Mini DMB-TH

Bluetooth GPRS via an A1200 and peoples.net

Mythtv xmltv importer for HK

captcha death and mod_proxy mistakes.

mod_proxy as a spammer

to 64bit or not.., and new office

nimbda block script

Published 2001-11-16 21:35:00

I got a little fed up seeing all those nimbda in my apache logs - so this little script tries to fix that.
#!/bin/sh grep -h cmd.exe /var/log/apache/*access.log \ | cut -c 1-18 |grep ^'[0-9]' | grep -v ^'192.' \ | sort -u | grep -E '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+*' \ | awk '{ print "/sbin/ipchains -I input 1 -p tcp -s " $1 " -d 0/0 80 -i eth0 -j DENY\n" }' \ > /etc/blacklist cat /etc/blacklist | sh
Mentioned By:
google.com : april (55 referals)
google.com : november (48 referals)
google.com : nimbda (9 referals)
google.com : block script (6 referals)
google.com : Apache blacklist (5 referals)
google.com : block script in php (4 referals)
google.com : H:\cmd.exe (4 referals)
google.com : how to block scripts (4 referals)
google.com : block script for apache (3 referals)
google.com : php block script (2 referals)
google.com : blacklist apache cmd.exe (2 referals)
google.com : blacklist ipchains script (2 referals)
google.com : block nimbda apache (2 referals)
google.com : block script php (2 referals)
google.com : how to block script with php (2 referals)
google.com : php block script (2 referals)
google.com : php blocking script (2 referals)
google.com : grep cmd.exe access_log nimbda (1 referals)
google.com : block referals apache (1 referals)
google.com : "apache blacklist" (1 referals)

Add Your Comment

    Follow us on

    OUR BLOG

    Some thoughts on the language server and its usefulness in the roobuilder
    Roo Builder for Gtk4 moving forward
    Clustered Web Applications - Mysql and File replication
    GitLive - Branching - Merging
    PDO_DataObject Released
    PDO_DataObject is under way
    Mass email Marketing and anti-spam - some of the how-to..
    Hydra - Recruitment done right

    Contact


    Email: sales@roojs.com
    Tel: +852 3709 2951
    Room 2710, Trend Center
    29-31 Cheung Lee Street,
    Chai Wan
    Hong Kong

    Copyright 2023 - Roo J Solutions Limited

    Powered by the Roo Javascript Library and our Roo bootstrap toolkit

    Follow us

      • Some thoughts on the language server and its usefulness in the roobuilder
      • Roo Builder for Gtk4 moving forward
      • Clustered Web Applications - Mysql and File replication
      • GitLive - Branching - Merging
      • PDO_DataObject Released
      • PDO_DataObject is under way
      • Mass email Marketing and anti-spam - some of the how-to..
      • Hydra - Recruitment done right

      Blog Latest

    • Twitter - @Roojs

    Copyright 2010-2014 Roo J Solutions Limited
    Powered by the Roo Javascript Library